<?php

class FavoriteViewModel extends ViewModel {
    public $viewFields = array(
        'Content'=>array('content_id','content_body','posttime','type','retid','replyid','replytimes','zftimes','_type'=>'LEFT'),
        'Favorite'=>array('_type'=>'LEFT','_on'=>'Content.content_id=Favorite.content_id'),
        'Users'=>array('user_id','user_name','nickname','user_head','user_auth','live_city','_on'=>'Content.user_id=Users.user_id'),
    );
}
?>